package dpinfrastructure;

import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@EnableScheduling
public class SpringJob {

    @Scheduled(cron="0/2 * * * * ?")
    public void execute() {
        System.out.println("spring job");
    }
    
}
